function eid(id)	{return document.getElementById(id);}
function en(name)	{return document.getElementsByName(name)[0];}
function goto(url)      {window.location.href=url;}
function url_ajax(url, callback){
    var ajax_object = false;
    var ajax_callback = callback;
    try{ajax_object = new XMLHttpRequest();}
    catch(try_microsoft){
        try{ajax_object = new ActiveXObject('Msxml2.XMLHTTP');}
        catch(other_microsoft){
            try{ajax_object = new ActiveXObject('Microsoft.XMLHTTP');}
            catch(failed){return false;}
        }
    }
    ajax_object.onreadystatechange = function(){
        if(ajax_object.readyState==4){
            if(ajax_object.status==200){
                ajax_callback(ajax_object.responseText);
                delete ajax_object;
            }
        }
    };
    ajax_object.open('GET', url, true);
    ajax_object.send(null);
    return true;
}